fixed received_id problem