Some fixes of C3P0Config