resolve a warning of possible un-initialized received_size