trim on both sides