Fixed bug if can_handle fails