changed pagination dir