Fixed some errors and bugs in the site