small changes for compiler warnings