add metamagic and title tags