Do not set sample again if the same