fixes GSF looping