mostly working with mouse
fix mouse press code