fix a bug on first startup, and add default startup