cleaning up string consts and outdated spell refs