fixing trim 3