fix the refund-recreates expenses code. Also fix code which was creating IUF fees