add .files
fix bugs
rm gen