cleans up urls
turned on pagination support