added 404 errors for card not found