edit product modal struggled with badly formed number