fix bug for reload command