fix surveys generator