fix for API inconsistency