trim "empty" titles