fix posedge clock