Resetting valor at end phase