Fixed some syntax errors in the database hopefully.