fixed basic stripe function, for #1491