modify onlbuttondown and onmousemove errors