fix parsing for shader ref within shape