fixing trim options