correct whitespaces for title tag