Fixed a few Compile errors