generic correction in euler for #509