fix the add calculating error