deal with compiler warnings