delete bug with templates in table with part. data