fix to work on windows
clear debug output