Cleaning up image path