api: typo fix
script: add sprint, sprintf