fixup enviroment config
fixup attr_accessible