Added log for checking if title is empty