fixed broken open file