Fixed some mistakes I made