fix: myls segfault and arithfault