fix editor style bug