Removed some warnings related to GLM