fix bug in rel example