fixed a couple errors I missed from the last commit