fix bug: onMove error