enhancement for better code

Signed-off-by: Fabien Crassat <fabien@crassat.com>