no need to restore nmkeys[0] when nmkeys[0] is 0
no need to restore spbits when nmkeys[0] is 0