fix moonscript traces