bug fix - opt server not set correctly