fixed issue with empty cat codes