fix for new api urls