remove dependency on th-text and width property