Variables are getting left in variable table itself