bugfix: export api-level function