Minor fix setting up in apm.el