fixed touch bugs