fix error
don't export private dir
fix gitignore wildcard