filewrite formaterror in menu files fixd,update UI