changes for compiler warnings