Assertion Error and default enviroment