Replaces entity-code with number