removes duplicate declaration