bug in segments from bed, print segment info