fixed check category has only one page