Moving flag reset