fix duplicate declaration