Fixed some MySQL Table errors