add ben's fix for duplicating reference class fields