wrap only on success
detach works