work on offline categories