fixed bug in repeater connect