fix bugs in Jrow