fix formatting on the theory page