Fix algebraic fragment