fixed bug when right click on the side when srow is NaN