Fix bug in reload.