bug fix flexiant generation - missing memory