minor clean up of api url and commenting