config bug fix and pagination removing