error handling for /videos