Rename tmp_dot to TMP_DOT