fixed issue pointing to a non-prod endpoint