Fixed a stupid bug in bind implementation which causes IE fail to work