Fix 180 bug in scalax code