rework linter function to pick out title tag