fix refund method