Fixed exception when changing sides