bugfix(dont stop if reach the startjunc), cal function more versatile