fixed SLJ computation, modified XML