null check for titles