fix a couple mistakes