remove debug
add right line even if there is no history