Fix tooltip title to be formatted