fixed a heartbreaking bug...

typt ->type