fix compilation on 2.0.0 final