fixing image loads