[Minor] fixed compiler warnings