Remove some dead code and restore star before default profile.