bugfix
better debuging info