fixed flag coding