add error tolerance for jj esc mapping