fix #16: use startswidth instead