rest.get works for the fists time