double enviroment definition raise error