fix merchant pos bug