Incorrect work when `attribute` property used is fixed