fxing minor case of "don't repeat yourself"