removed protocol from api fetch