fix importing of images