Bug fix unused command used