fix the strange error, the class env interpreted at compile time