Fixing flags