fixed relay flag