fix bug: use to_sym to fix it