Added check for missing reset parameter