fix editor plugin