Attempt to fix problem with custom flag reason