NICK

Fix bug. Invalid variable used.