Fixed bug with `pre` magic mode