fix on api urls