Fixing pagination and url style