fixing bug with refactoring of security questions