config laptop-mode and organize some stuffs