error handling for missing media