a few small adjustments for district selector to work.