fix compiler warnings
fix compiler warnings