added support for one paged sites