fixes for api implementation in the-tale