debug end line and nan status