Fix home page length validation problem