fix: problem with saving shapes