fixes formula