removes trailing "==" from titles