remove var declarations