fixed temp directory. refs #1227
fixed module name in api calls. refs #1227