fixed a scope related bug

Signed-off-by: Mickael <mickael@beingenious.com>