- fix some compiler warnings