add trim for title