small improvements

- wider magnet link popover
- remove use of a deprecated function