fixed a bug in connector configuration