Landing page code error fixes