remove unwanted `to_sym` call.
Merge pull request #15359 from kuldeepaggarwal/f-remove-unwanted_to_sym

remove unwanted `to_sym` call.