pre-yaml mode