fix a 2.10 warning