Advances in stability of anaerobic bioreactor lashed by environmental and wastewater composition variations