removing minor problem with temp image path