get rid of few compiler warnings