[warnings] fixed compiler warnings