added debug lines
fix