fix(spells): temp workaround for spell & task being undefined. #2649 #2640