small bug fix on planConnector