error handling for missin pics