set delegation to sample and study consistently

sample row attr was defined incorrectly and delegation did not work when there was no row