remove unneeded extern