flag fix for edit account button