fixed one bug in the adding process!!