remove unused trim