Minor fix to jp_spm_getev