fix typo, make resume the default action, fix log bug