Fixes to stripe generator