Fix/warnings

a few compiler warnings fixes