fix command binding