trim support in export