refactoring to_sym of Symbol in preload