fix a bug and add mouse event