avoiding errors in quick'n dirty debug function