fixing some dumb errors