make lotto compile success first