fixed issue with non-existent command span