path_to_seq null path checking