大量Bug修复
All logic bug fixed.