fix for algorithm data retrieval