remove command factory