minor fixes for headless chapter