fix all bug for mouse