circle: fixed trimming
trim: fixed an error in previous commit