few compiler warnings fixed