renamed get_j and set_j to _get_j and _set_j to indicate a more private status
bugfix for delete_prefix