Fixed crash on successful link due to API bug