terminal: fix for api break