Removing redundant magic string