correct crash loading images