fixes flotsam and jetsam