fix in OpenFile