fixed sortable pages issue