[BUGFIX] Check if title is provided before accessing it