reverted to old working version

Signed-off-by: Nicolas Cailloux <caillouxnicolas@gmail.com>