fixed a typo in core/delete

s/atribute/attribute/