Fixed the Add methods throw exception