minor fixes: dead store, nsuint conversion