Fixed "used only once" warning.