catch NULL input in interpreter_chat_mode