remove return in rotate