fix my own deprecated usage