fixed status not being reset