fix small issue with aasitetype

a variable that was used was not defined in __init__ which made things
pretty confusing