fix this algorithm again
changelog