fix clear empty product bug