improved authentication and cancellation errors detection