better debug mode