fix command method string output