fixed some editor bugs