jww: fixed some compiler warnings