handling for containerconnector; has to be improved but this works