Bugfix: deleting current api