Added a string substitute to avoid a code smell