fix declare variant
add ofline categories and inventory