Fix another deprecated warning message