remove delete function from device attribute