make categories block work