fix bug

1. next button is disable when page is 0.
2. sort attribution is added in correct tag.