fix bug in demo GUI, conf end frontend