fix img file paths