fix editor loading