Teacher shortage has impact on rural districts