flattens rejects table