correct a formula