Fixed reset issue.