Fix all errors and warnings on homepage