small tweaks to polybezier