cleanup (NLC)
open demo file only once for getting infos
clean error msg