added latex fix