Fixes issues in tvcache