detaching on day bug