Fix GLM issue