clean the inline styles