Updated a few errors

Changed a couple of things to resolve errors.