fixed a few mistakes.