Quick fix for algorithm call backs.