change magic string to symbol