fix add has bug