Environment doesnt check if null