removed needless codes in MVM_dir_open