The `to_sym` call looks unnecessary given that you already converted it to a symbol above.