fixing command factory duplicate entry of classify.shared portions