fix bug in get hash line