fixed a bug in bgezal. completed jal