[mod_magnet] rename var for clarity (fixes #1483)