corrects error in appbase.add