fix deprecated warning, again