fix modify command bug