fix deprecated API after guava update