improve forwarder to be compatible with all OS (tested: Mac OS and Debian)