remove compiler error
move flags to namespace