removes styles from the component