api and new site fix