fixed validation of distance and species name from add new tree