Fix for detach bug