trim entries