fix deprecation notice

Small typo