reduce compiler warnings