* added printmining check to a debug line