fix bad references to depecrated property