Fixed some minor bags.