fix from ast