fixed a few goofs