fixes image load