Fix bug in reload command