fix slave
faster sync & snapshot