fix a bug when using any