init editor fix