Fixes #6894 add missing file and remove debug line