error chnging styles