remove command extension.