fix typos, programs photos resize size increased, fix duplicate code in index