removing useless loaders, fixing env