fixing web with new api