fixed some other bugs I made.