remove unnecessary css classes