remove hard coded localhost