sanitize regression and fix for #5