added seg fault fix for repeater_test