fix editor layout