chnaged gem to render latex