Fix bug updating title