handle card not found error