improved error handling on ADDPRODUCT