bugfix
change mining structure creation
resolve conflict