1. Fix a bug. add an assert to to remind.