fix terms styling bug