fix a bug caused by misunderstanding of flit's dest variable