fix district_set nil error in session helper