fixed encoding problems in show page and awkward category bar when only 1 category