fixed some editor issues