a few small repairs