fix var constant lifting