fix initialize editor status