Avoid an error with the result generation in some case (may ant more research to know why this problem arise)