add recursive attribute for delete