deal with small api change