remove ws code from index