dynamic home page with error