fix W0223 warning