Retracts of free monoids are nowhere dense with respect to finite group topologies and p-adic topologies