enable trimming