seems we only care when ``$target == 'title'``, so I think we can remove the ``switch``