filter out style properties