fix typo in refineassemble script