fixing open file_table entry