fix the bug that the last survey link will not open automaticlly