fixes paths to relative images