cleanup phylografter export
added validation