fix API on user interface