fixed command api