fix bugs of lastday_mastake