fix extra 'null' displaying for empty title