fix product model bug