fix code editor output