fix make dist & snapshot