editor w small bug fixes