a few fixes for touch