Fixing the dest_addr according to the issue #2

`dest_addr` was replaced by out_adress on line 83 and line 86 as the `out_adress` was previous checked to be not None