Remove extra lines and fix alignment.