fix mouse api