reset the locations of some classes