working UI and Detached Head