How can we stop algorithms telling lies?