fixing assignment ast construction