change the place of state classes