printing wrong debug