[BUG #8120] fixed attribute removal