improved symbol resolvement