Fix an error because of typo
Avoid a deprecated option