fixed a few mistakes i made in the last couple commits