optimize importStyle