fix editor warnings