fix exit function in product menu