add log for hint
fixed the half close problem