fix minor bug in fragment transfer