remove editor garbage