Fixing errors on home page