fix a bug with init-sessions.el