fix api links