Fixed bug in TPB provider