cb.py
reformated code
little pagination fix