fixed a bug in base collection