Compile errors fixed

Compile errors fixed