removed call to a deprecated getter function