removing excess css classes