fixed some environmental test failures