Fix up formula