Fix register command response failed bug