Trying to fix survey link generation