bug fix in nano rule file