Made a few small fixes

Adds in fixes to run errors