root.title = "fake title"
wouldn't work,
Instead you should do
root.title("real title")
that's why your master title is being counted as a string not an object or a method