fixing title handeling