fixing error messages for unloaded images