Dev: fixed issue in survey activation with error and debug=2