change some bugs, some missing posedge