fixed error in active admin (it can now delete data)