fix sentinel command bug