Added validation when has not next