[MERGE] fix clear flag

Signed-off-by: David Goulet <dgoulet@efficios.com>