fixing relative paths for image assets