fixed a bug in environments that caused improper compilation of methods