attempt to fix enemt errors