normalize var parsing, fix false flag