delete gen dir