fix broadcastreceiver wrapper to support new features