fixed a couple of errors.