sync with shapes editor lib v0.5.2