fix api inconsistency