changed pagination layout
parse https url too