Bug fix---forgot to use proper variable