change to works with hadoop 0.21