Fix deprecated typo