ensure we raise on errors