detect editor
correct messages