replace lord with emperor and tidy contents