Fix errors on webpage