fixed temp path issue