Fixed an issue with AutoDC