Added missing condition to special case
Removed some debug prints
solve fix