removing compile errors