bug in MSD_filename fixed