minor fixes
custom mask for overturning stream function