fix merchant view bug