fix wrap problem