fixes primitive scanner arguments (lxm)