select node only if it is not folder