warnings removed and build fixed