fix hanging debug statement