Small fix to magnets