fixed broken editor