trim margins for .definition