remove not used attributes (for 4.2.x)