fixed issues with version selector when running locally vs remote