bugfix in generating frags with position bias