fixed a crash when a for when a file doesnt't exist
Merge branch 'debug'

Conflicts:
	debug/config.log

Merge with debug