Fix reduce