fix document bind event bug