product attribute flat table fix