sync fix and mkdir