removed flags from application controller