skipping next button if not present