handel exception in add product page