Fix warning message on homepage