simplify to avoid problem of level=0 disabling straight behavior