fix the open file bug….