prevent some quadratic ugliness