Fixed problems with TD elements

That's all