fix api on website