Hopefully fix cache and data partitions recognizon

Thanks lopicl commit