Fix min commands number