fix no command returned in session