fix bug in apt-add