fixed undefined offset in wc_create_refund()