fixed a few errors...