Fix clipboard and generator