Stupid bug; switched to local var to instance var