dupliate nodes in results fix