BF: garbage spm_dir returned when using spm_mcr