Fixed the formula displaying