.on mouse click fix