fix to product model bug