Fixed bug (wrong var name).