correcting bug when using debug method without configuration