Fix usage of dedicated api