added ef and some fix in config