fix clues generation