fix env require