fixing confusing naming that caused a bug in relay stuff