Fix bernard 0.10 support