few source code warnings removed