Fixed a couple errors

Should be okay now.