Fix for updated GLM