fix warnings about deprecated syntax

No match.