Fix reduce call