fix design sync when loading from dir