null reference check for touch