maybe fixed model matrix issue