remove double function declaration.