Make config compatible with 2.4