normalizes completion flags