fix broken inflation calculation (d'oh!)