fix bcast and others.
Merge pull request #34 from snoweye/master

fix bcast and others.