fix moveCat bug