Fix projection formulas