fix `%magic` output

call lsmagic without underscore

closes #3467