We construct, under MAcountable, a countably compact topological subsemigroup of which is not a group, hence a counterexample for the Wallace problem. We also show that there is no p-compact counterexample for the Wallace problem, answering a question of D. Grant. Finally, we show that—in some sense—our counterexample for the Wallace problem constructed under MAcountable cannot be done in ZFC.