fixing title as a flag