remove unneeded extension