fixed command registration