Fixed debugging problem