fixing api ref