fixed #111, should not directly return when interactively open wallet