Fixed a couple compile errors