Fixed TMP variable handling refs #47