fixed base url for dev/prod issue