fix bug in single product