input bug fix
with newick method