fixed relaybug