fix regression in debug settings