[PLAT-3794] cleaned up some warnings