fix openMSfile