evaluate def metadata after def var is created, fixes #TANAL-10