fixed use of deprecated property