fix nj bug