fixed select node method
cleanup+docs