Added trim for page labels