fixes for touchdevices