add debugs in lib/category.php
add debugs in lib/category.php