fixed a couple mistakes