some improvments towards touch library