fix bad var sub (TIRED)