reposition var declarations