Compile errors

Fixed compile errors