fixed cancellation issue, made tap cell detection better, added deb