try to fix infinite loop bug. remove extra files. change debug prints.