correction in parse arrays
correction of a bug
adding close file at release