eliminate some compiler warnings