fixing paths to images