fixing trim 2