fix editor issue