re-add trim pass