added enable view port in index and not config