merge curly brace fix on demo from spatialhast