fix the correct overflow setting