Fixed bug with ssa and instance vars