changed environment back to previous