Repair Bug Codes (mouseDownHandler & oneWayHandler)