fixed bugs

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