fix bugs : missing to adjust data directories when extend a section