fixed dubug print