Pay, morale contribute difficulties filling slots in agencies