add some better debug