a couple of NAG bugs