fix a latex equation