Fixed error message in home page