BUG: sparval being over-written