bug fixed: only work for left button