added traceback to api