v5.0.38 lib/ex fix