fix for add all

fix for add all