fixing some sutble yet obvious mistakes.