modify the messy code in Linux.