obvious patch from Chris Dams