fixing image name paths