fixed issue where tbplurl can be null