Fixing var that doesn't exist