remove duplication

make code climate happy