fix spell bug
fix bug: missing output when the join-key is null.