Changed errors with loading images