fix some APIs