resetting all positions before each new group