fix the timer bug
fix a bug:when the DB is empty,do not rehash
add \n to the error print message